package com.pojo;



/**
 * AbstractProduct entity provides the base persistence definition of the Product entity. @author MyEclipse Persistence Tools
 */

public abstract class AbstractProduct  implements java.io.Serializable {


    // Fields    

     private Integer pid;
     private String pname;
     private Long pprice;
     private Integer pnum;


    // Constructors

    /** default constructor */
    public AbstractProduct() {
    }

	/** minimal constructor */
    public AbstractProduct(Integer pid) {
        this.pid = pid;
    }
    
    /** full constructor */
    public AbstractProduct(Integer pid, String pname, Long pprice, Integer pnum) {
        this.pid = pid;
        this.pname = pname;
        this.pprice = pprice;
        this.pnum = pnum;
    }

   
    // Property accessors

    public Integer getPid() {
        return this.pid;
    }
    
    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public String getPname() {
        return this.pname;
    }
    
    public void setPname(String pname) {
        this.pname = pname;
    }

    public Long getPprice() {
        return this.pprice;
    }
    
    public void setPprice(Long pprice) {
        this.pprice = pprice;
    }

    public Integer getPnum() {
        return this.pnum;
    }
    
    public void setPnum(Integer pnum) {
        this.pnum = pnum;
    }
   








}